package cz.artin.gemini.shared.domain.admin;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.SequenceGenerator;
import javax.persistence.Table;

import cz.artin.gemini.shared.domain.DomainObject;

@Entity
@Table(name = "adm_role")
@SequenceGenerator(name = DomainObject.SEQ_GENERATOR_NAME, sequenceName = "adm_role_seq", allocationSize = 1, initialValue = 1000)
public class Role extends DomainObject {
	private static final long serialVersionUID = 6403939872401235993L;

	@Column(name = "role_name", unique = true, nullable = false, length = 50)
	private String roleName;

	public String getRoleName() {
		return roleName;
	}

	public void setRoleName(String roleName) {
		this.roleName = roleName;
	}
	
	
}
 